package com.unknown.world

import com.unknown.BaseEntity;

import grails.converters.JSON;

class Exit extends BaseEntity {
	static {
		JSON.registerObjectMarshaller(Exit){
			def map = [:]
			map['row'] = it.row
			map['col'] = it.col
			map['name'] = it.name
			map['roomId'] = it.roomId
			return map;
		}
	}
		
	int row
	int col
	String name
	String roomId
}
